<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="row page-header">
                <div class="col-md-2">
                    <img alt="80x100" src="http://lorempixel.com/80/100/people" />
                </div>
                <div class="col-md-8 ">
                    <h1><?php echo $boutique->getNom();?></h1>
                </div>
                <div class="col-md-2 ">
                   <a class="btn btn-primary info" >Une Question ?</a>
                </div>
            </div>
            <div class="col-md-12">
                
                <?php echo $boutique->getDescription();?>
            </div>
            <!--mes produits-->
            <br />
            <div class="row">
                <h3>Mes produits</h3>
            </div>
            
               <?php
               $i = 0;
               foreach ($produits as $produit) : 
                    if ($i == 0){
                        echo '<div class="row">';
                    }
                    
                    $display_image = 'no-preview.jpg';
                    // get the first image which exist
                    foreach ($produit->getImages() as $image) {
                        if (file_exists($this->full_file_path.$image->getChemin())) {
                            $display_image = $image->getChemin();
                            break;
                        }
                    }
                    $display_image = $this->file_path.$display_image;
                            
                ?>
                    <div class="col-md-4">
                        <div class="thumbnail">
                            <img src="<?php echo $display_image; ?>" alt="image_produit">
                            <div class="caption">
                                <h3><?php echo $produit->getLibelle();?></h3>
                                <p>
                                    <?php echo $produit->getDescription();?>
                                </p>
                                <p>prix :  <?php echo $produit->getPrix();?></p>
                                <p>Taille : <?php echo $produit->getTaille();?></p>
                                
                                <p>
                                    <a class="btn btn-primary" href="<?php echo $this->url('article',
                                        array('action'=>'index', 'id' => $produit->getId()));?>">Voir</a>
                               
                                </p>
                            </div>
                        </div>
                    </div>
                <?php
                    if ($i == 2){
                        echo '</div>';
                        $i = -1;
                    }
                    $i++;
                endforeach;
                ?>
            </div>
            </div>
            
        </div>
    </div>    
</div>